<tem>
	<!-- 编辑 -->
	<div class="template" id="edit_template">
		<div class="panel-body no-tb-padder">
			<form class="bs-example form-horizontal xs-form">
				<div class="form-group">
			      <label class="col-lg-2 control-label required">策略名称</label>
			      <div class="col-lg-4">
			        <input type="text" maxlength="64" class="form-control input-sm" data-id="apName"
			        	validate="required ,stringLimit">
			      </div>
			      <label class="col-lg-2 control-label">策略状态</label>
			      <div class="col-lg-4">
			        <select class="form-control input-sm" data-type="select" data-id="apStatus">
						<option value="1">启用</option>
						<option value="0">停用</option>
					</select>
			      </div>
			    </div>

			    <div class="form-group">
			      	<label class="col-lg-2 control-label">生效周期</label>
			     	<div class="col-lg-2">
						<select class="form-control input-sm" data-id="apCycle" data-type="select">
							<option value="-1">----</option>
							<option value="1">天</option>
							<option value="2">周</option>
							<option value="3">月</option>
						</select>
					</div>
					<div class="col-lg-2">
						<select class="form-control input-sm" data-id="apCyclePeriod" data-type="select" disabled>
						</select>
					</div>

			      	<label class="col-lg-2 control-label">执行时间</label>
			      	<div class="col-lg-2" style="width: 16%;">
						<input type="text" class="form-control input-sm" style="padding-right: 0px;" data-flag="time" data-id="validityStart" disabled validate="required,Hms">
					</div>
					<div class="col-lg-1 p0" style="width:auto;padding:4px 2px;">
			          -
			        </div>
					<div class="col-lg-2" style="width: 16%;">
						<input type="text" class="form-control input-sm" style="padding-right: 0px;" data-flag="time" data-id="validityEnd"  validate="required,Hms" disabled>
					</div>
			    </div>

			    <div class="form-group">
			      <label class="col-lg-2 control-label required">事件等级</label>
			      <div class="col-lg-4">
			          <select class="form-control input-sm" data-type="select" 
			          				data-id="eventGrade" multiple="multiple" validate="required">
						  <option value="0">很高</option>
						  <option value="1">高</option>
						  <option value="2">中</option>
						  <option value="3">低</option>
						  <option value="4">很低</option>
					  </select>
			        </div>
			    </div>

			    <div class="form-group">
			      <label class="col-lg-2 control-label">备注信息</label>
			      <div class="col-lg-8">
			        <textarea class="form-control input-sm" data-id="apDesc"></textarea>
			      </div>
			    </div>
			    <div>
					<div class="form-group" style="margin-bottom: 0">
						<div class="border-text">
						  <div id="">事件信息</div>
						</div>
					</div>
				</div>

 
				<div class="form-group">
					<div class="col-lg-6" style="width: 390px;padding-right: 0">
						<label class="col-lg-5 control-label" style="width: 137px">使用事件类型筛选</label>
						<div class="col-lg-7" style="width: 233px;padding-right: 0;padding-left: 0;">
							<select class="form-control input-sm" data-type="select" data-id="eventTypeComboBox">
							</select>
						</div>
					</div>
				</div>
				<div style="padding-left: 10px;">
					<div class="form-group">
						<div class="col-lg-5" style="width: 390px;">
							<div id="eventList_left_table1" class="table-div" style="height:180px;"></div>
						</div>
						<div class="col-lg-1">
							<!-- 右移箭头 -->
							<div style="right:23px;top:50px;font-size:20px;z-index:2000;" 
									id="chevron-right2" class="pabs square">
								<i class="icon-chevron-right"></i>
							</div>
							<!-- 左移箭头 -->
							<div style="right:23px;top:100px;font-size:20px;z-index:2000;" 
									id="chevron-left2" class="pabs square">
								<i class="icon-chevron-left"></i>
							</div>
						</div>
						<div class="col-lg-6" style="width: 390px;">
							<div id="eventList_right_table1" class="table-div" style="height:180px;"></div>
						</div>
					</div>

					<div class="form-group">
						<div class="col-lg-5" id="left" style="width: 390px;">
							<div class="form-group">
								<label class="col-lg-2 control-label" style="width: 75px;">IP类型</label>
								<div class="col-lg-8 float-div tc">
									<div class="checkbox">
									  <label class="i-checks ml15">
									  	<input type="checkbox" name="ipType" value="0"><i></i> <span>源IP</span>
									  </label>
									</div>
									<div class="checkbox ml15">
									  <label class="i-checks">
									  	<input type="checkbox" name="ipType" value="1"><i></i> <span>目的IP</span>
									  </label>
									</div>
									<div class="checkbox ml15">
									  <label class="i-checks">
									  	<input type="checkbox" name="ipType" value="2"><i></i> <span>发生源</span>
									  </label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-lg-3">
									<div class="radio">
										<label class="i-checks">
										  <input type="radio" value="0" name="ipVersion" checked>
										  <i></i>
										  IPV4
										</label>
									</div>
								</div>
								<div class="col-lg-3" style="width:136px;padding-right:0px;">
							        <input type="text" class="form-control input-sm" data-id="startIp" id="startIp" validate="required,ipv4">
						        </div>
						        <div class="col-lg-1 p0" style="width:auto;padding:0 6px;">
						          -
						        </div>
						        <div class="col-lg-3" style="width:137px;padding-left:0px;">
						          <input type="text" class="form-control input-sm" data-id="endIp" id="endIp" validate="required,ipv4">
						        </div>
					        </div>
					        <div class="form-group">
								<div class="col-lg-3">
									<div class="radio">
										<label class="i-checks">
										  <input type="radio" value="1" name="ipVersion">
										  <i></i>
										  IPV6
										</label>
									</div>
								</div>
								<div class="col-lg-7" style="width:290px;">
							        <input type="text" class="form-control input-sm" data-id="ipV6" id="startIp" validate="required,ipv6" disabled>
						        </div>
					        </div>
						</div>
						<div class="col-lg-1">
							<!-- 右移箭头 -->
							<div style="right:23px;top:50px;font-size:20px;z-index:2000;" 
									id="chevron-right" class="pabs square">
								<i class="icon-chevron-right"></i>
							</div>
							<!-- 左移箭头 -->
							<div style="right:23px;top:100px;font-size:20px;z-index:2000;" 
									id="chevron-left4" class="pabs square">
								<i class="icon-chevron-left"></i>
							</div>
						</div>
						<div class="col-lg-6" style="width: 390px;">
							<div id="ipList_table2" class="table-div" style=" height:130px;"></div>
						</div>
					</div>

					<div class="form-group">
						<div class="col-lg-5" id="left3" style="width: 390px;">
							<div class="form-group">
								<label class="col-lg-3 control-label" style="width: 90px;">端口类型</label>
								<div class="col-lg-8 float-div">
									<div class="checkbox">
									  <label class="i-checks">
									  	<input type="checkbox" name="portTypeValue" value="1"><i></i> <span>源端口</span>
									  </label>
									</div>
									<div class="checkbox ml15">
									  <label class="i-checks">
									  	<input type="checkbox" name="portTypeValue" value="2"><i></i> <span>目的端口</span>
									  </label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-lg-12">
									<input class="form-control input-sm" validate="required" type="text" data-id="emailTitle1"/>
								</div>
								
					        </div>
					        <div class="form-group">
								<label class="col-lg-9"">
									（多个端口号以英文","分开）
								</label>
					        </div>	
					    </div>
					    <div class="col-lg-1">
							<!-- 右移箭头 -->
							<div style="right:23px;top:50px;font-size:20px;z-index:2000;" 
									id="chevron-right3" class="pabs square">
								<i class="icon-chevron-right"></i>
							</div>
							<!-- 左移箭头 -->
							<div style="right:23px;top:100px;font-size:20px;z-index:2000;" 
									id="chevron-left3" class="pabs square">
								<i class="icon-chevron-left"></i>
							</div>
						</div>
						<div class="col-lg-6" style="width:390px;">
							<div id="ipList_table3" class="table-div" style="height:130px;"></div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>

	<!-- 详情 -->
	<div class="template" id="detail_template">
		<div class="panel-body no-tb-padder">
			<form class="bs-example form-horizontal xs-form xs-form-mb5">
				<div class="form-group">
					<label class="col-lg-2 control-label">策略名称：</label>
					<label class="col-lg-4 control-label tl" data-id="apName"></label>
					<label class="col-lg-2 control-label">策略状态：</label>
					<label class="col-lg-4 control-label tl" data-id="apStatusName"></label>
				</div>

				<div class="form-group">
					<label class="col-lg-2 control-label"
								data-id="event_name_label">事件等级：</label>
					<label class="col-lg-4 control-label tl" data-id="eventGradeName"></label>

					<label class="col-lg-2 control-label">周期信息：</label>
					<label class="col-lg-4 control-label tl" data-id="circle_info"></label>
				</div>

				<div class="form-group">
					<label class="col-lg-2 control-label">备注信息：</label>
					<label class="col-lg-8 control-label tl" data-id="apDesc"></label>
				</div>

				<div class="form-group">
					<div id="event_name_div" class="table-div col-lg-6" style="height:250px"></div>

					<div class="table-div col-lg-6">
						<div class="form-group">
							<div id="ip_type_div" class="table-div col-lg-11" style="height:122px"></div>
						</div>

						<div class="form-group">
							<div id="port_type_div" class="table-div col-lg-11" style="height:122px"></div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>

	<!-- 导入模板 -->
	<div class="template" id="import_template">
		<div class="panel-body no-tb-padder">
			<form class="bs-example form-horizontal xs-form" id="query_form" enctype="multipart/form-data">
				<div class="form-group">
					<input type="hidden" name="formJson">
				    <label class="col-lg-3 control-label" style="padding-left: 0">选择上传文件：</label>
				    <div class="col-lg-8" style="padding-left: 0">
				    	<div data-type="ptMap" id="ptMap" class="upload"></div>
				    </div>
				    <div class="col-lg-1">
				    	<i class="icon-trash" title="取消" style="line-height:36px;font-size:14px"></i>
				    </div>
				</div>
			</form>
		</div>
	</div>
</tem>